//
//  ANProductGetParam.h
//  Ants
//
//  Created by ZHM on 16/7/27.
//  Copyright © 2016年 ZHM. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ANProductGetParam : NSObject
/**
 * 加载 最新/更多
 */
@property (nonatomic, assign) BOOL isLoadNew;
/**
 * 是否查找当前用户
 */
@property (nonatomic, assign) BOOL isCurrentUser;
/**
 * 升序/降序
 */
@property (nonatomic, assign) BOOL isAscending;

/**
 * 排序关键词
 */
@property (nonatomic, copy) NSString *sortKey;
@property (nonatomic, strong) id sortmoreValue;
@property (nonatomic, strong) id sortNewValue;

/**
 * 排序方式
 */
@property (nonatomic, assign) BOOL isDateSort;
@property (nonatomic, assign) BOOL isPriceSort;
@property (nonatomic, assign) BOOL isLocationSort;

//地区
@property (nonatomic, strong) NSArray *address;

/**
 * Relation关联
 */
@property (nonatomic, copy) NSString *relationKey;
@property (nonatomic, strong) BmobObject *relationObj;


//起始位置
@property (nonatomic, strong) NSDate *moreDate;
@property (nonatomic, strong) NSDate *newsDate;


@property (nonatomic, assign) NSInteger skipMore;
@property (nonatomic, assign) NSInteger skipNew;
+ (instancetype)param;

@end
